package com.jiawa.train.batch.resp;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class CronJobResp {
    private String name;
    private String group;
    private String jobClass;
    private String description;
    private String cronExpression;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date nextFireTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date preFireTime;
    private String state;
}